package com.heima.apis.user.fallback;

import com.heima.apis.user.IUserClient;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.enums.AppHttpCodeEnum;
import com.heima.model.user.pojos.ApUser;
import org.springframework.stereotype.Component;

@Component
public class IUserClientFallback implements IUserClient {

    @Override
    public ResponseResult selectUser(Integer userId) {
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR);
    }
}
